<!DOCTYPE html>
<html lang="en">
 <head> 
  <meta charset="UTF-8" /> 
  <title>HyBlog后台系统</title> 
  <link rel="stylesheet" href="/plugins/layui/css/layui.css" />
  <style type="text/css">
		.border{
			border: 1px solid red;
		}
		.site-content{
			width: 80%;
	   	 	min-height: 900px;
	    	padding: 20px 20px 10px 20px;
		}
		.iframe {
		    border: 1px solid #ebeaea;
		    padding: 10px;
		    margin: 10px;
		}
		html,body{
			margin:0;
			padding: 0;
		}
	</style> 
 </head> 
 <body> 
  <div class="layui-layout layui-layout-admin"> 
   <div class="layui-header"> 
    <div class="layui-logo">
     HyBlog
    </div> 
    <!-- 头部区域（可配合layui已有的水平导航） --> 
    <ul class="layui-nav layui-layout-left"> 
     <li class="layui-nav-item"><a href="/welcome" target="iframe">Zhy,I love you!</a></li>
    </ul> 
    <ul class="layui-nav layui-layout-right"> 
     <li class="layui-nav-item"><a href="/logout">退出</a></li>
    </ul> 
   </div> 
   <div class="layui-side layui-bg-black"> 
    <div class="layui-side-scroll"> 
     <!-- 左侧导航区域（可配合layui已有的垂直导航） --> 
     <ul class="layui-nav layui-nav-tree" lay-filter="test"> 
      <li class="layui-nav-item layui-nav-itemed"> <a class="" href="javascript:;">文章管理</a> 
       <dl class="layui-nav-child"> 
        <dd>
         <a href="/article-write" target="iframe">发布文章</a>
        </dd> 
        <dd>
         <a href="/article-manage" target="iframe">文章管理</a>
        </dd> 
       </dl> </li> 
      <li class="layui-nav-item"> <a href="javascript:;">分类管理</a> 
       <dl class="layui-nav-child"> 
        <dd>
         <a href="/category-add" target="iframe">新增分类</a>
        </dd> 
        <dd>
         <a href="/category-manage" target="iframe">分类管理</a>
        </dd> 
       </dl> </li> 
      <li class="layui-nav-item"> <a href="javascript:;">标签管理</a> 
       <dl class="layui-nav-child"> 
        <dd>
         <a href="/tag-add" target="iframe">新增标签</a>
        </dd> 
        <dd>
         <a href="/tag-manage" target="iframe">标签管理</a>
        </dd> 
       </dl> </li>
      <li class="layui-nav-item"> <a href="javascript:;">友链管理</a>
       <dl class="layui-nav-child">
        <dd>
         <a href="/friendshiplink-add" target="iframe">新增友链</a>
        </dd>
        <dd>
         <a href="/friendshiplink-manage" target="iframe">友链管理</a>
        </dd>
       </dl> </li>
      <li class="layui-nav-item"> <a href="javascript:;">公告管理</a>
       <dl class="layui-nav-child">
        <dd>
         <a href="/notice-add" target="iframe">新增公告</a>
        </dd>
        <dd>
         <a href="/notice-manage" target="iframe">公告管理</a>
        </dd>
       </dl> </li>
      <li class="layui-nav-item"> <a href="javascript:;">轮播管理</a>
       <dl class="layui-nav-child">
        <dd>
         <a href="/carousel-add" target="iframe">新增轮播</a>
        </dd>
        <dd>
         <a href="/carousel-manage" target="iframe">轮播管理</a>
        </dd>
       </dl> </li>
      <li class="layui-nav-item"><a href="#">统计信息</a></li>
      <li class="layui-nav-item"><a href="#">系统设置</a></li>
     </ul> 
    </div> 
   </div> 
   <div class="layui-body" style="margin: 0; padding: 0"> 
    <!-- 内容主体区域  -->
    <iframe src="./welcome" width="100%" height="90%" name="iframe" scrolling="auto" class="iframe" framborder="0"></iframe>
   </div> 
   <div class="layui-footer"> 
    <!-- 底部固定区域 --> &copy;2018 dmyang.club - 用心做技术 
   </div> 
  </div> 
  <script src="/plugins/layui/layui.js"></script>
  <script>
    //JavaScript代码区域
    layui.use('element', function () {
        var element = layui.element;

    });
</script>  
 </body>
</html>